package com.yuyou.tas.report.service;

import com.yuyou.tas.service.api.report.entity.ExamModelRange;

import java.util.List;

public interface IExamModelRangeService {
    int deleteByPrimaryKey(Long id);

    int insert(ExamModelRange record);

    ExamModelRange selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExamModelRange record);

    /**
     * 获取整个机构下的全部模版范围
     * @param organId
     * @return
     */
    List<ExamModelRange> getByOrganId(Long organId);
    
    /**
     * 根据班级删除
     * @param lessonClassId
     * @param authOrganizationId
     * @return
     */
    int deleteByClassId(Long lessonClassId,Long authOrganizationId);

    Integer countByExamModelId(Long modelId);
}